package com.kkwrite.regimen.provider.domain;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Created by lisha on 2018/7/19 20:51.
 *
 * @author lisha
 */
@Entity
@Table(name = "reg_share_log")
@Setter
@Getter
@ToString(callSuper = true)
public class RegShareLogDO extends BaseDO {
    private static final long serialVersionUID = 3930008550525722486L;

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    @Column(name = "user_id", nullable = false)
    private Integer userId;
    @Column(nullable = false)
    private Short type;
    private Integer itemId;

}
